package com.base.api.exception;

import com.base.api.result.ResultCode;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 统一自定义业务型异常
 * @author dengran
 * @since 2019/12/26
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class BusException extends RuntimeException {

    private ResultCode resultCode;
}
